package com.jiutong.meipenggang.entity;

import java.util.List;

/**
 * @author Veken
 * @date on 2017/12/19 10:34
 * @describe
 */

public class MeiLiCaiBean extends BaseBean {


    /**
     * bidList : [{"amount":50000,"apr":10,"bidId":8,"bidding_time":"1515055520000","loan_schedule":0,"period":90,"status":2,"title":"美财宝test20180104"},{"amount":2000000,"apr":8.5,"bidId":6,"bidding_time":"1515048029000","loan_schedule":55,"period":60,"status":2,"title":"美理财2018010402"},{"amount":50000,"apr":10,"bidId":9,"bidding_time":"1515056531000","loan_schedule":90,"period":180,"status":2,"title":"美财宝test222222"},{"amount":3000000,"apr":9,"bidId":7,"bidding_time":"1515046217000","loan_schedule":100,"period":90,"status":4,"title":"美理财2018010403"},{"amount":3000000,"apr":9,"bidId":4,"bidding_time":"1514537991000","loan_schedule":100,"period":90,"status":4,"title":"美财宝122903"},{"amount":2000000,"apr":8,"bidId":3,"bidding_time":"1514536498000","loan_schedule":100,"period":60,"status":4,"title":"美财宝122902"},{"amount":1000000,"apr":6,"bidId":2,"bidding_time":"1514518883000","loan_schedule":100,"period":30,"status":4,"title":"美财宝122901"}]
     * homeAds : [{"name":"http://127.1.1.1:9001/images?uuid=231855ba-6f92-40ac-9406-dc9347dbef7c","url":"http://192.168.1.106:9001/register2"},{"name":"http://127.1.1.1:9001/images?uuid=dca842c4-1654-4809-930a-27aed071fac7","url":""},{"name":"http://127.1.1.1:9001/images?uuid=2ae09676-a671-414b-a72b-ed1aab32c414","url":""},{"name":"http://127.1.1.1:9001/images?uuid=f9ab0d9f-b34a-481a-861e-79486a15ce49","url":""}]
     * totalNum : 7
     */

    private int totalNum;
    private List<BidListBean> bidList;
    private List<HomeAdsBean> homeAds;

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public List<BidListBean> getBidList() {
        return bidList;
    }

    public void setBidList(List<BidListBean> bidList) {
        this.bidList = bidList;
    }

    public List<HomeAdsBean> getHomeAds() {
        return homeAds;
    }

    public void setHomeAds(List<HomeAdsBean> homeAds) {
        this.homeAds = homeAds;
    }

    public static class BidListBean {
        /**
         * amount : 50000
         * apr : 10
         * bidId : 8
         * bidding_time : 1515055520000
         * loan_schedule : 0
         * period : 90
         * status : 2
         * title : 美财宝test20180104
         */

        private double amount;
        private double apr;
        private int bidId;
        private String bidding_time;
        private double loan_schedule;
        private int period;
        private int status;
        private String title;

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public double getApr() {
            return apr;
        }

        public void setApr(double apr) {
            this.apr = apr;
        }

        public int getBidId() {
            return bidId;
        }

        public void setBidId(int bidId) {
            this.bidId = bidId;
        }

        public String getBidding_time() {
            return bidding_time;
        }

        public void setBidding_time(String bidding_time) {
            this.bidding_time = bidding_time;
        }

        public double getLoan_schedule() {
            return loan_schedule;
        }

        public void setLoan_schedule(double loan_schedule) {
            this.loan_schedule = loan_schedule;
        }

        public int getPeriod() {
            return period;
        }

        public void setPeriod(int period) {
            this.period = period;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class HomeAdsBean {
        /**
         * name : http://127.1.1.1:9001/images?uuid=231855ba-6f92-40ac-9406-dc9347dbef7c
         * url : http://192.168.1.106:9001/register2
         */

        private String name;
        private String url;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
